package com.wtf.generator.dao;

import com.wtf.generator.model.dto.DsAddDTO;

import java.sql.Connection;

/**
 * date: 2022/6/18 10:59
 * @author linhuanyou
 * @email 496558736@qq.com
 * @version 1.0
 */
public interface DsDbDao {

    /**
     * 打开数据库连接
     */
    Connection openConnection(DsAddDTO dsDbDTO) throws Exception;

    /**
     * 关闭数据库连接
     */
    void closeConnection(Connection connection) throws Exception;

}
